<template>
  <div v-if="data.onlineInquiryReplyId">
    <el-link :href="`/#/blank/waybill__viewOnlineInquiryAndReplys__main?replyId=${data.onlineInquiryReplyId}`" target="_blank" >{{data.onlineInquiryNo}}</el-link>
  </div>
  <div v-else-if="data.onlineInquiryNo && data.id">
    <el-link :href="`/#/blank/waybill__viewOnlineInquiryAndReplys__main?pid=${data.id}`" target="_blank" >{{data.onlineInquiryNo}}</el-link>
  </div>
</template>

<script>
  export default {
    props: ["data"]
  }
</script>
